﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DiagramDesigner;

namespace DemoApp
{
    public class ComponentData: INPCBase
    {
        private string componentName = "";

        public ComponentData(string componentName)
        {
            this.componentName = componentName;
        }

        public string ComponentName
        {
            get
            {
                return this.componentName;
            }
            set
            {
                if (this.componentName != value)
                {
                    this.componentName = value;
                    NotifyChanged("ComponentName");
                }
            }
        }
    }
}
